#pragma once
#include<iostream>
#include<string>
#include"subject.h"
using namespace std;

class Student
{
    string name;
    string ID;
    double GPA;
    static int count;
    public:
    Student();
    Student(string na, string id);
    string GetName()const;
    void ReckonGPA(const Subject& sub);
    double GetGPA()const;
    void Display(const Subject& sub)const;
    void Display()const;
    void Input();
    void Insert();
    void Delete();
    static int GetCount();
    friend void OutputStu(const Student* array);
};